export interface ConfigItem {
  title: string;
  icon: string;
  activeIcon: string;
  id: string | number;
}

export interface NavBarProps {
  config: ConfigItem[];
  activeId?: string;
  onChange?: (configItem: ConfigItem) => void;
}

export interface NavBarState {
  activeId: string | number;
}
